Import(Byte[],Int32,Int32,Int32,PixelFormat) Method
In This Topic
Loads the image from a byte array containing the pixels buffer with specified stride (bytes per row of pixels).
Syntax
'Declaration
Public Overloads Sub Import( _
ByVal () As System.Byte, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As PixelFormat _
)
public void Import(
System.byte[] ,
System.int ,
System.int ,
System.int ,
PixelFormat
)
Parameters
- bytes
- The source byte array with pixel buffer.
- stride
- The stride (bytes per row) of the image data in the source byte array.
- width
- The width of the image, in pixels.
- height
- The height of the image, in pixels.
- pixelFormat
- The pixel format of the image.
See Also